package org.car.world.service;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.car.world.core.entily.MerchantsTable;

public interface MerchantsService {
    int deleteByPrimaryKey(Integer merchantsId);

    int insert(MerchantsTable record);

    MerchantsTable selectByPrimaryKey(Integer merchantsId);

    List<MerchantsTable> selectAll();

    int updateByPrimaryKey(MerchantsTable record);

    boolean updateByPrimaryIdActiv(MerchantsTable record);

    boolean updateByPrimaryBusi(MerchantsTable record);

    int updateByPrimaryShop(MerchantsTable record);

    MerchantsTable loginMerchants(String merchantsPhone, String merchantsShopname);

    List<MerchantsTable> selectLimit(Integer form, Integer size, Integer merchantsState);

    List<MerchantsTable> selectMatst(Integer merchantsState);

    int selectcount(Integer merchantsState);

    int merchantsupst(Integer merchantsId, Integer sta);

    List<MerchantsTable> selectphone(String phone);

    int SelectByPrimaryKeyPwd(MerchantsTable record);

    int updateByPrimaryPwd(MerchantsTable record);

    int LoginPhonePwd(MerchantsTable record);
}